﻿<src:WpfConfiguration x:Class="OfficeModules.Wpf.LyncUpdateStatusConfig"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:src="clr-namespace:MayhemWpf.UserControls;assembly=MayhemWpf"
             Width="400">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="50" />
            <ColumnDefinition Width="350" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <TextBlock Style="{StaticResource ConfigLabel}" Grid.Column="0" Grid.Row="0">Status:</TextBlock>
        <ComboBox Name ="StatusComboBox" Grid.Column="1" Grid.Row="0" SelectionChanged="StatusComboBox_SelectionChanged">
            <ComboBoxItem Tag="3500" Content="Available"/>
            <ComboBoxItem Tag="6500" Content="Busy"/>
            <ComboBoxItem Tag="9500" Content="Do Not Disturb"/>
            <ComboBoxItem Tag="12500" Content="Be Right Back"/>
            <ComboBoxItem Tag="15500" Content="Away"/>
        </ComboBox>        
        <TextBlock Style="{StaticResource ConfigErrorMessage}" Name="textInvalid" Grid.Column="1" Grid.Row="1">The selected status is invalid.</TextBlock>        
    </Grid>
</src:WpfConfiguration>

